<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>外卖管理系统 - 美食随心订</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/home.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
    <nav class="navbar">
        <div class="container">
            <h1><i class="fas fa-utensils"></i> 外卖管理系统</h1>
            <ul>
                <li><a href="index.html" class="active">首页</a></li>
                <li><a href="pages/restaurants.html">餐厅列表</a></li>
                <li><a href="pages/orders.html">我的订单</a></li>
                <li><a href="pages/login.html">登录</a></li>
                <li><a href="pages/register.html">注册</a></li>
            </ul>
        </div>
    </nav>

    <section class="hero">
        <div class="container">
            <h2>美食触手可及</h2>
            <p>从众多精选餐厅中选择您喜爱的美食，足不出户享受美味</p>
        </div>
    </section>

    <div class="container">
        <section class="search-section">
            <div class="search-bar">
                <input type="text" placeholder="搜索餐厅、美食或菜系...">
                <button type="button">
                    <i class="fas fa-search"></i>
                    搜索
                </button>
            </div>
        </section>

        <section class="quick-actions">
            <div class="quick-action-item">
                <i class="fas fa-clock"></i>
                <h4>限时优惠</h4>
                <p>限时特价美食</p>
            </div>
            <div class="quick-action-item">
                <i class="fas fa-percent"></i>
                <h4>优惠券</h4>
                <p>领取专属优惠</p>
            </div>
            <div class="quick-action-item">
                <i class="fas fa-user-friends"></i>
                <h4>邀请有礼</h4>
                <p>邀请好友送券</p>
            </div>
            <div class="quick-action-item">
                <i class="fas fa-crown"></i>
                <h4>会员专享</h4>
                <p>专属特权福利</p>
            </div>
        </section>

        <section class="categories">
            <div class="section-header">
                <h2>美食分类</h2>
                <p>探索各式各样的美食世界</p>
            </div>
            <div class="category-grid">
                <div class="category-card">
                    <div class="category-image" style="background-image: url('images/chinese.jpg');"></div>
                    <div class="category-content">
                        <h3>中式料理</h3>
                        <p>传统美味，经典传承</p>
                    </div>
                </div>
                <div class="category-card">
                    <div class="category-image" style="background-image: url('images/japanese.jpg');"></div>
                    <div class="category-content">
                        <h3>日式料理</h3>
                        <p>精致典雅，品质保证</p>
                    </div>
                </div>
                <div class="category-card">
                    <div class="category-image" style="background-image: url('images/western.jpg');"></div>
                    <div class="category-content">
                        <h3>西式快餐</h3>
                        <p>快捷美味，随时享用</p>
                    </div>
                </div>
                <div class="category-card">
                    <div class="category-image" style="background-image: url('images/dessert.jpg');"></div>
                    <div class="category-content">
                        <h3>甜点饮品</h3>
                        <p>甜蜜时光，美好心情</p>
                    </div>
                </div>
            </div>
        </section>

        <section class="featured-restaurants">
            <div class="section-header">
                <h2>精选餐厅</h2>
                <p>严选优质商家，提供卓越美食体验</p>
            </div>
            <div class="restaurant-grid">
                <div class="restaurant-card">
                    <div class="restaurant-image" style="background-image: url('images/restaurant1.jpg');"></div>
                    <div class="restaurant-info">
                        <h3 class="restaurant-name">江南小厨</h3>
                        <div class="restaurant-details">
                            <span class="restaurant-rating">
                                <i class="fas fa-star"></i> 4.8
                            </span>
                            <span class="restaurant-cuisine">江浙菜</span>
                        </div>
                        <div class="restaurant-tags">
                            <span class="tag">新店特惠</span>
                            <span class="tag">支持自取</span>
                        </div>
                        <div class="restaurant-delivery">
                            <span class="delivery-time">
                                <i class="fas fa-clock"></i> 30-45 分钟
                            </span>
                            <span class="delivery-fee">配送费 ¥5</span>
                        </div>
                    </div>
                </div>

                <div class="restaurant-card">
                    <div class="restaurant-image" style="background-image: url('images/restaurant2.jpg');"></div>
                    <div class="restaurant-info">
                        <h3 class="restaurant-name">川香阁</h3>
                        <div class="restaurant-details">
                            <span class="restaurant-rating">
                                <i class="fas fa-star"></i> 4.6
                            </span>
                            <span class="restaurant-cuisine">川菜</span>
                        </div>
                        <div class="restaurant-tags">
                            <span class="tag">满减优惠</span>
                            <span class="tag">准时达</span>
                        </div>
                        <div class="restaurant-delivery">
                            <span class="delivery-time">
                                <i class="fas fa-clock"></i> 40-55 分钟
                            </span>
                            <span class="delivery-fee">配送费 ¥6</span>
                        </div>
                    </div>
                </div>

                <div class="restaurant-card">
                    <div class="restaurant-image" style="background-image: url('images/restaurant3.jpg');"></div>
                    <div class="restaurant-info">
                        <h3 class="restaurant-name">寿司物语</h3>
                        <div class="restaurant-details">
                            <span class="restaurant-rating">
                                <i class="fas fa-star"></i> 4.9
                            </span>
                            <span class="restaurant-cuisine">日料</span>
                        </div>
                        <div class="restaurant-tags">
                            <span class="tag">会员优惠</span>
                            <span class="tag">品质保证</span>
                        </div>
                        <div class="restaurant-delivery">
                            <span class="delivery-time">
                                <i class="fas fa-clock"></i> 25-40 分钟
                            </span>
                            <span class="delivery-fee">配送费 ¥8</span>
                        </div>
                    </div>
                </div>

                <div class="restaurant-card">
                    <div class="restaurant-image" style="background-image: url('images/restaurant4.jpg');"></div>
                    <div class="restaurant-info">
                        <h3 class="restaurant-name">米兰西餐厅</h3>
                        <div class="restaurant-details">
                            <span class="restaurant-rating">
                                <i class="fas fa-star"></i> 4.7
                            </span>
                            <span class="restaurant-cuisine">西餐</span>
                        </div>
                        <div class="restaurant-tags">
                            <span class="tag">高端餐厅</span>
                            <span class="tag">情侣优选</span>
                        </div>
                        <div class="restaurant-delivery">
                            <span class="delivery-time">
                                <i class="fas fa-clock"></i> 35-50 分钟
                            </span>
                            <span class="delivery-fee">配送费 ¥10</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <section class="testimonials">
        <div class="container">
            <h2>用户评价</h2>
            <div class="testimonial">
                <p>“外卖管理系统让点餐变得如此简单方便，食物总是准时送达，味道也很棒！”</p>
                <p>- 张三</p>
            </div>
            <div class="testimonial">
                <p>“我喜欢这个平台的多样性，能够找到各种不同的餐厅和美食。”</p>
                <p>- 李四</p>
            </div>
        </div>
    </section>

    <section class="newsletter">
        <div class="container">
            <h2>订阅我们的新闻简报</h2>
            <p>获取最新的优惠信息和餐厅推荐！</p>
            <form>
                <input type="email" placeholder="输入您的邮箱...">
                <button type="submit">订阅</button>
            </form>
        </div>
    </section>

    <section class="cta-section">
        <div class="container">
            <h2>加入我们的外卖平台</h2>
            <p>成为我们的合作伙伴，一起为用户提供更好的服务</p>
            <div class="cta-buttons">
                <a href="pages/register.html" class="cta-button cta-primary">立即注册</a>
                <a href="#" class="cta-button cta-secondary">了解更多</a>
            </div>
        </div>
    </section>

    <script src="js/home.js"></script>
</body>
</html>
